package com.yc.booktable.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 用于返回JSON数据的结果集对象
 */
public class Result {

    private int code;
    private String msg;
    private Object data;

    public void clean(){
        this.msg = null;
    }
}

